package com.ym.medical.service.impl;


import com.ym.core.utils.tkmybatis.BaseSVImpl;
import com.ym.medical.dao.TextRuleDao;
import com.ym.medical.domain.entity.TextRuleEntity;
import com.ym.medical.service.ITextRuleSV;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * ComputerName:LAPTOP-6GI4HOI6
 * Author:625
 * Date: 2019-05-28
 * Time: 11:45:46
 * 服务实现类
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class TextRuleSVImpl extends BaseSVImpl<TextRuleEntity, TextRuleDao> implements ITextRuleSV {

    /**
     * 查询30次服务的 id
     * @return
     */
    @Override
    public TextRuleEntity selectRule() {
        return mapper.selectRule();
    }

    @Override
    public TextRuleEntity selectDefaultTextRule() {
        return mapper.selectRule();
    }
}
